{teststr replace='true' maxnum=29}
{$str}
{/teststr}